package com.ddwl.schema.bo.shop;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2021/5/6 14:12
 */
@ApiModel("自提设置Bo")
@Getter
@Setter
public class SelfMentionBo {

    @ApiModelProperty(value="id")
    private String id;

    @NotEmpty(message = "店铺id不能为空")
    @ApiModelProperty(value="店铺id",required = true)
    private String shopId;

    @NotNull(message = "取货地址不能为空")
    @ApiModelProperty(value="自提取货地址",required = true)
    private String takeAddr;

    @NotNull(message = "取货开始时间不能为空")
    @ApiModelProperty(value="取货开始时间",required = true)
    private String busBegin;

    @NotNull(message = "取货结束时间不能为空")
    @ApiModelProperty(value="取货结束时间",required = true)
    private String busEnd;

}
